

#ifndef _SHELL_REQAZLOGIN_MESSAGE_H_
#define _SHELL_REQAZLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqAZLoginMessage : public Message
{
	public:
	ReqAZLoginMessage();
	~ReqAZLoginMessage();
	void reset();
	ReqAZLoginMessage* clone();
	static const int _ID;
	//渠道类型
	int8 type;
	//用户编号
	std::string userid;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
